package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.bill.request.BillSummaryRequest;
import com.ytjj.qmyx.supplychain.common.model.bill.response.BillSummaryResponse;
import com.ytjj.qmyx.supplychain.mapper.entity.BillProduct;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BillProductMapper extends Mapper<BillProduct> {

    void insertBatch(@Param("list") List<BillProduct> collect);

    List<BillSummaryResponse> selectByRequest(BillSummaryRequest request);
}
